Generating Software Test Data by Evolution

نویسندگان

  • Christoph C. Michael
  • Gary McGraw
  • Michael Schatz
چکیده

This paper discusses the use of genetic algorithms (GAs) for automatic software test data generation. This research extends previous work on dynamic test data generation where the problem of test data generation is reduced to one of minimizing a function Miller and Spooner, 1976, Korel, 1990]. In our work, the function is minimized by using one of two genetic algorithms in place of the local minimization techniques used in earlier research. We describe the implementation of our GA-based system, and examine the eeectiveness of this approach on a number of programs, one of which is signiicantly larger than those for which results have previously been reported in the literature. We also examine the eeect of program complexity on the test data generation problem by executing our system on a number of synthetic programs that have varying complexities.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Immune and Evolutionary Approaches to Software Mutation Testing

We present an Immune Inspired Algorithm, based on CLONALG, for software test data evolution. Generated tests are evaluated using the mutation testing adequacy criteria, and used to direct the search for new tests. The effectiveness of this algorithm is compared against an elitist Genetic Algorithm, with effectiveness measured by the number of mutant executions needed to achieve a specific mutat...

متن کامل

The Drawbacks of model - driven Software

This short paper is an essay on the drawbacks of model driven software evolution which apply equally well to model driven software development. The idea of automatically generating code changes from a UML type model is equally enticing as that of automatically generating whole components from such a model. The drawback is that there is then nothing to test against, since there is only one descr...

متن کامل

GPTesT: A Testing Tool Based On Genetic Programming

Genetic Programming (GP) has recently been applied to solve problems in several areas. It has the goal of inducing programs from test cases by using the concepts of Darwin's evolution theory. On the other hand, software testing, that is a fundamental and expensive activity for software quality assurance, has the objective of generating test cases from the program being tested. In this sense, a ...

متن کامل

Evaluation of the Effect of Health Sector Evolution Plan on the Rate of Cesarean Sections in Hospitals Affiliated to Abadan School of Medical Sciences

Introduction and purpose: One of the health sector evolution plan's goals is to reduce the rate of cesarean section (C-section) and increase the natural childbirth rate. Therefore, this study aimed to evaluate the rate of C-sections before and after the implementation of the health sector evolution plan in the hospitals affiliated to Abadan School of Medical Sciences, Abadan, Iran. Methods: Th...

متن کامل

Automated Object’s Statechart Generation and Testing from Class Method Contracts

The link between an object’s class specifications and UML statechart is rather informal and poses consistency issues during software evolution. We address this issue by proposing a connection between class diagram and statechart in a lock-step fashion, which leads to a coherent design for better development, testing, and maintenance of the software system. In this paper, we describe an approach...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 27  شماره 

صفحات  -

تاریخ انتشار 2001